<div class="easyui-tabs" data-options="border:'0'"
	id="user-userlist-edit">
	<div title="Tab1">
		<form method="post" action="backend/saveLoanStatus.json">
			<input type="hidden" name="lid" value="${loanInfo.lid}"/>
			<table>
			    <tr>
			        <td>贷款标题:${loanInfo.title}</td>
			    </tr>
			    <tr>
			   	 	<td>贷款人id:${loanInfo.uid}</td>
			    </tr>
			    <tr>
			        <td>贷款金额:${loanInfo.amount.cent}</td>
			    </tr>
			    <tr>
			        <td>贷款年利率:${loanInfo.apr}</td>
			    </tr>
			    <tr>
			        <td>招标开始时间:${loanInfo.tenderBegin?number_to_datetime}</td>
			    </tr>
			    <tr>
			        <td>贷款过期时间:${loanInfo.exptime?number_to_datetime}</td>
			    </tr>
			    <tr>
			        <td>状态:<select id="status" name="status">
						  <option value = 1>草稿</option>
						  <option value = 2>无效</option>
						  <option value = 3>审核失败</option>
						  <option value = 11>待审核</option>
						  <option value = 12>待发布</option>
						  <option value = 21>招标中</option>
						  <option value = 31>已流标</option>
						  <option value = 32>满标待审</option>
						  <option value = 41>还款中</option>
						  <option value = 51>还款成功</option>
						</select></td>
						<input id="input_status" type="hidden" value="${loanInfo.status}"></input>
			    </tr>
			</table>
		</form>
	</div>
	</div>
	
	<script type="text/javascript">
		var base = loli.static.url.base;
		$(function() {
			$("#status").val($("#input_status").val());
			
		});
	</script>